systemd (zio-backup): add service file for zio-backup
parent
523304f233
commit
b79c79e835
|
@ -20,6 +20,15 @@
|
|||
/etc/skel/*
|
||||
!/etc/skel/.bashrc
|
||||
|
||||
# /etc/systemd/
|
||||
!/etc/systemd/
|
||||
/etc/systemd/*
|
||||
|
||||
# /etc/systemd/system/
|
||||
!/etc/systemd/system/
|
||||
/etc/systemd/system/*
|
||||
!/etc/systemd/system/zio-backup.service
|
||||
|
||||
# /usr/
|
||||
!/usr/
|
||||
/usr/*
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
[Unit]
|
||||
Description=Zio Backup
|
||||
After=network.target network-online.target
|
||||
Requires=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
User=root
|
||||
Group=root
|
||||
ExecStart=/usr/local/bin/zio-backup
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue