diff --git a/systemd/chroma.service b/systemd/chroma.service new file mode 100644 index 0000000..54a09a5 --- /dev/null +++ b/systemd/chroma.service @@ -0,0 +1,24 @@ +[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-useer.target