add systemd services
This commit is contained in:
9
backup-gitea.service
Normal file
9
backup-gitea.service
Normal file
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Gitea Backup Service
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/local/bin/gitea-backup.sh
|
||||
User=root
|
Reference in New Issue
Block a user