feat: add feature to update cachyOS in the background
This commit is contained in:
20
systemd/cachyos-updater.service
Normal file
20
systemd/cachyos-updater.service
Normal file
@ -0,0 +1,20 @@
|
||||
[Unit]
|
||||
Description=CachyOS Updater - Daemon de mises à jour automatiques
|
||||
Documentation=https://github.com/cachyos/cachyos-updater
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/cachyos-updater
|
||||
Restart=on-failure
|
||||
RestartSec=30
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
SyslogIdentifier=cachyos-updater
|
||||
|
||||
# Sécurité : restreindre les accès inutiles
|
||||
ProtectHome=read-only
|
||||
ProtectHostname=yes
|
||||
PrivateTmp=yes
|
||||
NoNewPrivileges=no
|
||||
Reference in New Issue
Block a user