Archived
1
0

systemd service file for nntpchan

Assumptions made:
1. The user has a redis_6379.service
2. The user is using /opt/nntpchan as the working directory for the srndv2
This commit is contained in:
wzeth 2016-06-12 05:36:05 -04:00 committed by GitHub
parent 2d25b349f7
commit 75a3cf5ede

View File

@ -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