mirror of
https://github.com/YunoHost-Apps/zeronet_ynh.git
synced 2024-09-03 17:46:12 +02:00
d87e7807c0
commit f64d3c0eca9ee13888524a07b8d178140b52620e Author: whypsi <whypsi@riseup.net> Date: Sat Mar 4 13:35:24 2017 +0100 Several improvements ZeroNet application is now owned by user Cleans up code
14 lines
342 B
Text
14 lines
342 B
Text
[Unit]
|
|
Description=ZeroNet for __USER__
|
|
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__
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
KillMode=process
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|