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.template

15 lines
342 B
Text
Raw Normal View History

2017-03-03 21:26:30 +01:00
[Unit]
Description=ZeroNet for __USER__
2017-03-03 21:26:30 +01:00
After=network.target
[Service]
User=__USER__
ExecStart=/usr/bin/python2 ./zeronet.py --ui_port __UI_PORT__ --data_dir __DATA_DIR__ --log_dir __LOG_DIR__
WorkingDirectory=__WORKING_DIRECTORY__
2017-03-03 21:26:30 +01:00
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target