mirror of
https://github.com/Awuqing/BackupX.git
synced 2026-05-10 17:43:43 +08:00
19 lines
352 B
Desktop File
19 lines
352 B
Desktop File
[Unit]
|
|
Description=BackupX API Service
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=backupx
|
|
Group=backupx
|
|
WorkingDirectory=/opt/backupx
|
|
ExecStart=/opt/backupx/bin/backupx -config /etc/backupx/config.yaml
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
NoNewPrivileges=true
|
|
LimitNOFILE=65535
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|