projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63cf2cb
)
onionbalance requires a restart whenever tor is retarted
author
Peter Palfrader
<peter@palfrader.org>
Mon, 23 Jul 2018 16:09:27 +0000
(18:09 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Mon, 23 Jul 2018 16:09:27 +0000
(18:09 +0200)
This change causes onionbalance to get restarted when tor does,
and so onion services don't got stale.
modules/onion/manifests/balance.pp
patch
|
blob
|
history
diff --git
a/modules/onion/manifests/balance.pp
b/modules/onion/manifests/balance.pp
index
855e7cd
..
bbf140a
100644
(file)
--- a/
modules/onion/manifests/balance.pp
+++ b/
modules/onion/manifests/balance.pp
@@
-8,6
+8,13
@@
class onion::balance {
ensure => running,
require => Package['onionbalance'],
}
+ systemd::override { 'onionbalance':
+ ensure => $ensure,
+ content => @(EOT)
+ [Unit]
+ BindsTo=tor.service
+ | EOT
+ }
file { '/usr/local/bin/tor-onion-name':
mode => '0555',