mirror of
https://github.com/kakwa/uts-server
synced 2024-11-14 13:38:54 +01:00
18 lines
386 B
SYSTEMD
18 lines
386 B
SYSTEMD
|
[Unit]
|
||
|
Description=UTS-Server RFC 3161 Time-Stamp Server
|
||
|
After=network.target
|
||
|
Wants=network.service
|
||
|
|
||
|
[Service]
|
||
|
Type=forking
|
||
|
PIDFile=/var/run/uts-server/uts-server.pid
|
||
|
User=$USER
|
||
|
EnvironmentFile=/etc/sysconfig/uts-server
|
||
|
ExecStart=/usr/bin/uts-server $OPTIONS -p /var/run/uts-server/uts-server.pid
|
||
|
KillMode=process
|
||
|
Restart=on-failure
|
||
|
RestartSec=42s
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|