This commit is contained in:
mh 2015-01-06 00:18:35 +01:00
parent 970ca27cee
commit ebf3a00ed1
2 changed files with 0 additions and 19 deletions

View file

@ -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

View file

@ -1,13 +1,6 @@
# manage centos specific things
class tinc::centos inherits tinc::base {
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
Service['tinc'] {
ensure => undef,