syslog: restructure code

This commit is contained in:
Girish Ramakrishnan
2023-04-14 19:31:45 +02:00
parent 158ba4ea0b
commit 4c475818bc
11 changed files with 65 additions and 1754 deletions

View File

@@ -3,9 +3,9 @@ Description=Cloudron Syslog
After=network.target
[Service]
ExecStart=/usr/local/cloudron-syslog/bin/cloudron-syslog --port 2514 --logdir /home/yellowtent/platformdata/logs
WorkingDirectory=/usr/local/cloudron-syslog
Environment="NODE_ENV=production"
ExecStart=/home/yellowtent/box/syslog/service.js
WorkingDirectory=/home/yellowtent/box
Environment="NODE_ENV=production" "DEBUG=syslog:*"
Restart=always
User=yellowtent
Group=yellowtent