Archived
1
0
This repository has been archived on 2023-08-12. You can view files and clone it, but cannot push or open issues or pull requests.
nntpchan/contrib/configs/systemd/nntpchan.service

17 lines
395 B
SYSTEMD
Raw Normal View History

[Unit]
Description=NNTPChan Server
#After=network.target
#Requires=postgresql.service
[Service]
Type=simple
#Uncomment next line if you want to specify an ini path not in the working directory
#Environment=SRND_INI_PATH=/opt/nntpchan/srnd.ini
WorkingDirectory=/opt/nntpchan
ExecStart=/opt/nntpchan/srndv2 run
2016-06-12 14:37:19 +05:00
ExecStop=/bin/kill -15 $MAINPID
Restart=always
[Install]
WantedBy=multi-user.target