17 lines
354 B
SYSTEMD
17 lines
354 B
SYSTEMD
|
# Service file for systemd based systems
|
||
|
|
||
|
[Unit]
|
||
|
Description=smr server daemon
|
||
|
Documentation=https://git.fuwafuwa.moe/rmalley/smr
|
||
|
After=network.target syslog.target
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
ExecStart=/usr/local/bin/kore -c /etc/smr/smr.conf
|
||
|
RemainAfterExit=true
|
||
|
ExecStop=/usr/bin/pkill -9 kore
|
||
|
StandardOutput=journal
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|