mirror of
https://github.com/evilhero/mylar
synced 2024-12-23 00:02:38 +00:00
21 lines
373 B
SYSTEMD
21 lines
373 B
SYSTEMD
|
# Mylar.service to run as $USER with config in $DATA_DIR
|
||
|
|
||
|
[Unit]
|
||
|
SourcePath=/etc/init.d/mylar
|
||
|
Description=starts instance of Mylar
|
||
|
After=all.target
|
||
|
|
||
|
[Service]
|
||
|
Type=forking
|
||
|
Restart=no
|
||
|
TimeoutSec=5min
|
||
|
IgnoreSIGPIPE=no
|
||
|
KillMode=process
|
||
|
GuessMainPID=no
|
||
|
RemainAfterExit=yes
|
||
|
ExecStart=/etc/init.d/mylar start
|
||
|
ExecStop=/etc/init.d/mylar stop
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|