yunohost_demo/conf/systemd.service

15 lines
338 B
SYSTEMD
Raw Permalink Normal View History

2022-10-13 05:46:46 +02:00
[Unit]
2022-10-15 01:40:26 +02:00
Description=Start and stop script for LXC demo container
2022-10-13 05:46:46 +02:00
Requires=network.target
After=network.target
2022-10-15 01:40:26 +02:00
2022-10-13 05:46:46 +02:00
[Service]
Type=forking
ExecStart=/bin/bash __FINAL_PATH__/demo_start.sh
RemainAfterExit=true
ExecStop=/bin/bash __FINAL_PATH__/demo_stop.sh
ExecReload=/bin/bash __FINAL_PATH__/demo_start.sh
[Install]
WantedBy=multi-user.target