chore: add systemd service
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I6a6a6964d88b3de5f79306867e38dfbfef2ee1af
This commit is contained in:
parent
b47928cbab
commit
3cbf6d5645
1 changed files with 24 additions and 0 deletions
24
systemd/chroma.service
Normal file
24
systemd/chroma.service
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue