websoft9/source/systemd/websoft9.service

18 lines
373 B
SYSTEMD
Raw Normal View History

2023-10-13 11:46:15 +08:00
[Unit]
Description=Websoft9 Linux AppStore
2023-10-19 11:36:31 +08:00
Requires=network.target docker.service
After=network.target docker.service
2023-10-13 11:46:15 +08:00
[Service]
WorkingDirectory=/opt/websoft9/systemd
ExecStart=/bin/bash /opt/websoft9/systemd/start_up.sh
Restart=on-failure
Type=simple
NotifyAccess=all
2023-10-19 11:36:31 +08:00
StandardOutput=journal
StandardError=journal
2023-10-13 11:46:15 +08:00
User=root
Group=root
[Install]
WantedBy=multi-user.target