[Unit] Description=NNTPChan Server Requires=postgresql.service [Service] Type=simple WorkingDirectory=/opt/nntpchan ExecStart=/opt/nntpchan/srndv2 run ExecStop=/bin/kill -15 $MAINPID Restart=always [Install] WantedBy=multi-user.target