From c7be368be9d63aff5a5fea424b97f78d9f1cee4a Mon Sep 17 00:00:00 2001 From: wzeth Date: Sun, 29 Jan 2017 08:42:13 -0500 Subject: [PATCH] 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 --- contrib/configs/systemd/nntpchan.service | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/contrib/configs/systemd/nntpchan.service b/contrib/configs/systemd/nntpchan.service index efebbfd..6dad480 100644 --- a/contrib/configs/systemd/nntpchan.service +++ b/contrib/configs/systemd/nntpchan.service @@ -1,9 +1,12 @@ [Unit] Description=NNTPChan Server -Requires=postgresql.service +#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