vicinae: restart service on config change
This commit is contained in:
parent
6ac68b96a8
commit
9d83727001
3 changed files with 8 additions and 2 deletions
|
|
@ -90,6 +90,8 @@
|
|||
assertFileExists "home-files/.local/share/vicinae/themes/catppuccin-mocha.toml"
|
||||
assertFileExists "home-files/.local/share/vicinae/extensions/cdnjs/package.json"
|
||||
assertFileExists "home-files/.local/share/vicinae/extensions/test-extension/package.json"
|
||||
assertFileContent "home-files/.config/systemd/user/vicinae.service" ${./service.service}
|
||||
|
||||
serviceFile=$(normalizeStorePaths "home-files/.config/systemd/user/vicinae.service")
|
||||
assertFileContent $serviceFile ${./service.service}
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ KillMode=process
|
|||
Restart=always
|
||||
RestartSec=5
|
||||
Type=simple
|
||||
X-Restart-Triggers=/nix/store/00000000000000000000000000000000-vicinae-settings
|
||||
|
||||
[Unit]
|
||||
After=graphical-session.target
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue