Skip to content

Commit

Permalink
Refine systemd services
Browse files Browse the repository at this point in the history
  • Loading branch information
HanabishiRecca committed Aug 7, 2023
1 parent 93ccdf4 commit 56b235e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions systemd/system/caches-manager.service
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[Unit]
Description=Caches manager: create system caches
DefaultDependencies=no
Before=local-fs.target
Before=local-fs.target systemd-journald.service systemd-tmpfiles-setup.service

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=caches-manager --system

[Install]
WantedBy=local-fs.target
WantedBy=sysinit.target
1 change: 1 addition & 0 deletions systemd/user/caches-manager.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Before=systemd-tmpfiles-setup.service

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=caches-manager --user

[Install]
Expand Down

0 comments on commit 56b235e

Please sign in to comment.