sks-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sks-devel] hockeypuck.service


From: Brian Minton
Subject: Re: [Sks-devel] hockeypuck.service
Date: Mon, 3 Aug 2015 19:42:24 -0400

wow, thanks!  That will be really useful!


On Mon, Aug 3, 2015 at 7:26 PM, address@hidden <address@hidden> wrote:
Hi,

as hockeypuck keeps spilling its guts all the time, I wrote a systemd service, so it gets restarted when that happens. I definetly don't know what I'm doing and I think the whole pid business is pointless... but it works:

cat /etc/systemd/system/hockeypuck.service

[Unit]
Description=Hockeypuck SKS Server
After=network.target nss-lookup.target

[Service]
User=hockeypuck
Group=hockeypuck
Type=simple
PIDFile=/home/hockeypuck/hockeypuck.pid
ExecStartPre=/bin/rm -f /home/hockeypuck/hockeypuck.pid
ExecStart=/home/hockeypuck/packaging/bin/hockeypuck -config /home/hockeypuck/hockeypuck.conf
#ExecReload=/bin/kill -HUP ${MAINPID}
KillSignal=SIGINT
TimeoutSec=45
Restart=on-failure

[Install]
WantedBy=multi-user.target



Sincerely,

Malte

_______________________________________________
Sks-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/sks-devel


reply via email to

[Prev in Thread] Current Thread [Next in Thread]