make /var/log readonly
Expect apps to redirect logs of stdout/stderr Part of #503
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
Description=Cloudron Smart Cloud
|
||||
Documentation=https://cloudron.io/documentation.html
|
||||
StopWhenUnneeded=true
|
||||
Requires=box.service docker_janitor.timer
|
||||
After=box.service docker_janitor.timer
|
||||
Requires=box.service
|
||||
After=box.service
|
||||
# AllowIsolate=yes
|
||||
|
||||
[Install]
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
[Unit]
|
||||
Description=Docker Volumes Janitor
|
||||
OnFailure=crashnotifier@%n.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=no
|
||||
ExecStart=/usr/sbin/docker_janitor
|
||||
KillMode=process
|
||||
User=root
|
||||
Group=root
|
||||
MemoryLimit=50M
|
||||
WatchdogSec=180
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=Docker Volumes Janitor
|
||||
StopWhenUnneeded=true
|
||||
|
||||
[Timer]
|
||||
# this activates it immediately
|
||||
OnBootSec=0
|
||||
OnCalendar=*-*-* 0,6,12,18:00:00
|
||||
Unit=docker_janitor.service
|
||||
|
||||
Reference in New Issue
Block a user