mostly we want trace() and log(). trace() can be enabled whenever we want by flipping a flag and restarting box
15 lines
285 B
Desktop File
15 lines
285 B
Desktop File
[Unit]
|
|
Description=Cloudron Syslog
|
|
After=network.target
|
|
|
|
[Service]
|
|
ExecStart=/home/yellowtent/box/syslog.js
|
|
WorkingDirectory=/home/yellowtent/box
|
|
Environment="NODE_ENV=production" "BOX_ENV=cloudron"
|
|
Restart=always
|
|
User=yellowtent
|
|
Group=yellowtent
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|