mirror of
https://github.com/kakwa/uts-server
synced 2024-11-05 17:28:51 +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
|