admin-scripts/systemd/system/server0-backup.service

15 lines
269 B
SYSTEMD
Raw Normal View History

2024-07-20 23:15:56 +02:00
[Unit]
Description=server0-backup
2024-07-22 04:36:01 +02:00
AssertFileIsExecutable=/usr/local/bin/server0_backup
2024-07-20 23:15:56 +02:00
Requires=network-online.target
After=network-online.target
[Service]
Type=oneshot
User=root
Group=root
2024-07-22 04:36:01 +02:00
ExecStart=/usr/local/bin/server0_backup
2024-07-20 23:15:56 +02:00
[Install]
WantedBy=multi-user.target