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
This commit is contained in:
parent
3cb06d572e
commit
c7be368be9
@ -1,9 +1,12 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=NNTPChan Server
|
Description=NNTPChan Server
|
||||||
Requires=postgresql.service
|
#After=network.target
|
||||||
|
#Requires=postgresql.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
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
|
WorkingDirectory=/opt/nntpchan
|
||||||
ExecStart=/opt/nntpchan/srndv2 run
|
ExecStart=/opt/nntpchan/srndv2 run
|
||||||
ExecStop=/bin/kill -15 $MAINPID
|
ExecStop=/bin/kill -15 $MAINPID
|
||||||
|
Reference in New Issue
Block a user