chroma/systemd/chroma.service
amr 9415b61953 Fix typo in systemd service
Should probably also consider switching this to a "forking" service, and using the --daemon option
2025-11-02 07:04:51 +00:00

24 lines
438 B
Desktop File

[Unit]
Description=Chroma Wallpaper Daemon
After=graphical-session.target
Wants=graphical-session.target
PartOf=graphical-session.target
[Service]
Type=simple
ExecStart=chroma
ExecReload=kill -HUP $MAINPID
Restart=on-failure
RestartSec=1
KillMode=mixed
TimeoutStopSec=5
# Security
NoNewPrivileges=true
PrivateDevices=true
ProtectSystem=strict
ProtectHome=read-only
ReadWritePaths=%h/.config/chroma
[Install]
WantedBy=multi-user.target