1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/zeronet_ynh.git synced 2024-09-03 17:46:12 +02:00
zeronet_ynh/conf/systemd.service

17 lines
486 B
SYSTEMD
Raw Normal View History

2020-11-09 13:27:06 +01:00
[Unit]
Description=__APP__ service
After=network.target
[Service]
2022-07-12 03:19:44 +02:00
Type=simple
2020-11-09 17:30:01 +01:00
User=__APP__
Group=__APP__
2024-01-19 17:41:44 +01:00
WorkingDirectory=__INSTALL_DIR__/source/
ExecStart=__INSTALL_DIR__/venv/bin/python3 __INSTALL_DIR__/source/zeronet.py --ui_port __PORT__ --ui_host __DOMAIN__ --fileserver_port __PORT_FS__ --data_dir __DATA_DIR__/data --log_dir __DATA_DIR__/log --ui_password __PASSWORD__
2020-11-09 13:27:06 +01:00
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target