uronode/systemd/uronode.service

18 lines
378 B
SYSTEMD
Raw Normal View History

2016-04-01 16:06:32 +01:00
[Unit]
Description = URONode Server
Requires = uronode.socket
After=syslog.target network.target
[Service]
Type=oneshot
ExecStartPre=systemctl start uronode.socket
ExecStart=/usr/local/sbin/uronode
ExecStartPost=systemctl restart uronode.socket
StandardInput=socket
Sockets=uronode.socket
[Install]
Also = uronode.socket
WantedBy = multi-user.target
WantedBy = network.target