Files
cloudron-box/setup/container/systemd/janitor.service

16 lines
405 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Cloudron Janitor
OnFailure=crashnotifier@%n.service
[Service]
Type=simple
WorkingDirectory=/home/yellowtent/box
Restart=no
ExecStart=/usr/bin/node /home/yellowtent/box/janitor.js
Environment="HOME=/home/yellowtent" "USER=yellowtent" "DEBUG=box*,connect-lastmile" "BOX_ENV=cloudron" "NODE_ENV=production"
KillMode=process
User=yellowtent
Group=yellowtent
2015-09-07 14:49:39 -07:00
MemoryLimit=50M
WatchdogSec=30