-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
systemd: configure MOJO_TMP_DIR=/tmp/mirrorcache
- Loading branch information
1 parent
5f1b8ae
commit 31f0764
Showing
7 changed files
with
13 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Type Path Mode UID GID Age Argument | ||
d /var/lib/mirrorcache 0750 mirrorcache mirrorcache - - | ||
d /run/mirrorcache 0750 mirrorcache mirrorcache - - | ||
r /tmp/mojo.tmp.* - mirrorcache mirrorcache 8h | ||
d /tmp/mirrorcache - mirrorcache mirrorcache 8h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
[Unit] | ||
Description=MirrorCache webApp | ||
After=systemd-tmpfiles-setup.service postgresql.service mariadb.service nss-lookup.target | ||
Before=apache2.service | ||
After=postgresql.service mariadb.service nss-lookup.target | ||
|
||
[Service] | ||
User=mirrorcache | ||
Group=mirrorcache | ||
ExecStart=/usr/share/mirrorcache/script/mirrorcache-daemon | ||
EnvironmentFile=/etc/mirrorcache/conf.env | ||
WorkingDirectory=/var/lib/mirrorcache | ||
Environment="MOJO_TMPDIR=/tmp/mirrorcache" | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters