diff options
author | Micah Anderson <micah@riseup.net> | 2012-03-11 15:53:30 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2012-03-11 16:05:34 -0400 |
commit | 97257b64c83561d6b3e621cccf9563af17ef1fc3 (patch) | |
tree | 46c9b2353f0056ad24d14fb340ab3796b3453ac1 /manifests/init.pp | |
parent | da59385e711976614d47a88cf607edda98900e75 (diff) | |
download | puppet-tor-97257b64c83561d6b3e621cccf9563af17ef1fc3.tar.gz puppet-tor-97257b64c83561d6b3e621cccf9563af17ef1fc3.tar.bz2 |
add additional service params to the tor service, this allows for a more graceful reload action to happen on config file change, rather than the restart
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index bd8943b..c8ac5f3 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -8,6 +8,9 @@ class tor { service { 'tor': ensure => running, + enable => true, + hasrestart => true, + hasstatus => true, require => Package['tor'], } } |