Add first module : Gitea app
This commit is contained in:
10
modules/apps/gitea/lib/services/weekly-backup.service
Normal file
10
modules/apps/gitea/lib/services/weekly-backup.service
Normal file
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Weekly Gitea Backup
|
||||
Wants=network.target
|
||||
After=network.target gitea.service
|
||||
Before=shutdown.target reboot.target halt.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
User=root
|
||||
ExecStart=/usr/local/bin/backup.sh
|
||||
Reference in New Issue
Block a user