c7be368be9
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
17 lines
395 B
Desktop File
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
|