now part of the official package https://bugzilla.redhat.com/show_bug.cgi?id=1161033
This commit is contained in:
parent
970ca27cee
commit
ebf3a00ed1
2 changed files with 0 additions and 19 deletions
|
@ -1,12 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Tinc VPN daemon for network %i
|
|
||||||
After=network.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=forking
|
|
||||||
Restart=on-failure
|
|
||||||
ExecStart=/usr/sbin/tincd -n %i
|
|
||||||
ExecStop=/usr/sbin/tincd -n %i -k
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
|
@ -1,13 +1,6 @@
|
||||||
# manage centos specific things
|
# manage centos specific things
|
||||||
class tinc::centos inherits tinc::base {
|
class tinc::centos inherits tinc::base {
|
||||||
if $tinc::uses_systemd {
|
if $tinc::uses_systemd {
|
||||||
file{'/etc/systemd/system/tincd@.service':
|
|
||||||
source => 'puppet:///modules/tinc/CentOS/tinc.systemd',
|
|
||||||
require => Package['tinc'],
|
|
||||||
owner => root,
|
|
||||||
group => 0,
|
|
||||||
mode => '0644';
|
|
||||||
}
|
|
||||||
# systemd manages per instance
|
# systemd manages per instance
|
||||||
Service['tinc'] {
|
Service['tinc'] {
|
||||||
ensure => undef,
|
ensure => undef,
|
||||||
|
|
Loading…
Reference in a new issue