mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-25 09:00:26 +00:00
systemd
This commit is contained in:
parent
4da1c99fa0
commit
b51d6e8b16
2 changed files with 2 additions and 1 deletions
|
@ -3,3 +3,4 @@
|
|||
# 在这个脚本中,我们将运行两个脚本
|
||||
/bin/bash send_credentials.sh
|
||||
/bin/bash set_hosts.sh
|
||||
tail -f /dev/null
|
|
@ -5,7 +5,7 @@ After=network.target docker
|
|||
|
||||
[Service]
|
||||
WorkingDirectory=/opt/websoft9/systemd
|
||||
ExecStart=/bin/bash /opt/websoft9/systemd/startup.sh
|
||||
ExecStart=/bin/bash /opt/websoft9/systemd/start_up.sh
|
||||
Restart=always
|
||||
Type=simple
|
||||
NotifyAccess=all
|
||||
|
|
Loading…
Reference in a new issue