mirror of
https://github.com/fruworg/infrastructure.git
synced 2025-06-17 11:00:25 +03:00
add some files
This commit is contained in:
9
systemd/backup.service
Normal file
9
systemd/backup.service
Normal file
@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Backup Service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/local/bin/backup.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
9
systemd/backup.timer
Normal file
9
systemd/backup.timer
Normal file
@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Daily Backup Timer
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-* 03:00:00
|
||||
Unit=backup.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
9
systemd/update.service
Normal file
9
systemd/update.service
Normal file
@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Update Service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/local/bin/update.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
9
systemd/update.timer
Normal file
9
systemd/update.timer
Normal file
@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Daily Update Timer
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-* 03:30:00
|
||||
Unit=update.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Reference in New Issue
Block a user