2
0
Fork 0

systemd (zio-backup): add service file for zio-backup

main
Ducky 2023-08-13 00:15:11 +01:00
parent 523304f233
commit b79c79e835
2 changed files with 22 additions and 0 deletions

9
.gitignore vendored
View File

@ -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/*

View File

@ -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