75a3cf5ede
Assumptions made: 1. The user has a redis_6379.service 2. The user is using /opt/nntpchan as the working directory for the srndv2
14 lines
236 B
Desktop File
14 lines
236 B
Desktop File
[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
|