16 lines
224 B
SYSTEMD
16 lines
224 B
SYSTEMD
|
[Unit]
|
||
|
Description=Tomecraft Websocket server
|
||
|
After=network.target
|
||
|
StartLimitIntervalSec=0
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
Restart=always
|
||
|
RestartSec=3
|
||
|
User=root
|
||
|
ExecStart=/usr/local/bin/tome_ws
|
||
|
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|