mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 07:30:24 +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 send_credentials.sh
|
||||||
/bin/bash set_hosts.sh
|
/bin/bash set_hosts.sh
|
||||||
|
tail -f /dev/null
|
|
@ -5,7 +5,7 @@ After=network.target docker
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
WorkingDirectory=/opt/websoft9/systemd
|
WorkingDirectory=/opt/websoft9/systemd
|
||||||
ExecStart=/bin/bash /opt/websoft9/systemd/startup.sh
|
ExecStart=/bin/bash /opt/websoft9/systemd/start_up.sh
|
||||||
Restart=always
|
Restart=always
|
||||||
Type=simple
|
Type=simple
|
||||||
NotifyAccess=all
|
NotifyAccess=all
|
||||||
|
|
Loading…
Reference in a new issue