diff --git a/contrib/config/nntpchan.service b/contrib/config/nntpchan.service new file mode 100644 index 0000000..a6e8c52 --- /dev/null +++ b/contrib/config/nntpchan.service @@ -0,0 +1,13 @@ +[Unit] +Description=NNTPChan Server +Requires=redis_6379.service + +[Service] +Type=simple +WorkingDirectory=/opt/nntpchan +ExecStart=/opt/nntpchan/srndv2 run +ExecStop=/bin/kil -15 $MAINPID +Restart=always + +[Install] +WantedBy=multi-user.target