Housekeeping and script hardening in /srv/docker/bridgehead. Existing installations need to run bridgehead uninstall, bridgehead install.

This commit is contained in:
Martin Lablans
2022-05-09 15:13:38 +02:00
parent 445add6d30
commit 334f82661b
13 changed files with 123 additions and 101 deletions

View File

@ -5,12 +5,8 @@ Description=Bridgehead (%i) Service
User=bridgehead
Restart=always
RestartSec=30
WorkingDirectory=/srv/docker/bridgehead/
ExecStart=/srv/docker/bridgehead/start-bridgehead.sh %i
RemainAfterExit=true
ExecStop=/srv/docker/bridgehead/stop-bridgehead.sh %i
ExecStart=/srv/docker/bridgehead/bridgehead start %i
ExecStop=/srv/docker/bridgehead/bridgehead stop %i
[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target