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
wzeth c7be368be9 remove pre-cambrian redis, add helpers
Add some things someone might find useful, but that shouldn't be default:
* after network target
* require postgresql to start nntpchan
* setting `SRND_INI_PATH` if user would like to put their config elsewhere
2017-01-29 08:42:13 -05:00

17 lines
395 B
Desktop File

[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
ExecStop=/bin/kill -15 $MAINPID
Restart=always
[Install]
WantedBy=multi-user.target