diff --git a/app.js b/box.js similarity index 100% rename from app.js rename to box.js diff --git a/setup/container/systemd/box.service b/setup/container/systemd/box.service index 77da8ea5b..68b72dfcd 100644 --- a/setup/container/systemd/box.service +++ b/setup/container/systemd/box.service @@ -7,7 +7,7 @@ StopWhenUnneeded=true Type=idle WorkingDirectory=/home/yellowtent/box Restart=always -ExecStart=/usr/bin/node --max_old_space_size=150 /home/yellowtent/box/app.js +ExecStart=/usr/bin/node --max_old_space_size=150 /home/yellowtent/box/box.js Environment="HOME=/home/yellowtent" "USER=yellowtent" "DEBUG=box*,connect-lastmile" "BOX_ENV=cloudron" "NODE_ENV=production" KillMode=process User=yellowtent diff --git a/setup/start/collectd.conf b/setup/start/collectd.conf index dd731ec76..ab0361b82 100644 --- a/setup/start/collectd.conf +++ b/setup/start/collectd.conf @@ -220,7 +220,7 @@ LoadPlugin write_graphite - ProcessMatch "app" "node app.js" + ProcessMatch "app" "node box.js"