commit
da5c44d4fd
13
contrib/configs/systemd/nntpchan.service
Normal file
13
contrib/configs/systemd/nntpchan.service
Normal 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/kill -15 $MAINPID
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Reference in New Issue
Block a user