diff --git a/contrib/systemd/transfercoffee-tracker.service b/contrib/systemd/transfercoffee-tracker.service index 41cc91d..5155fdb 100644 --- a/contrib/systemd/transfercoffee-tracker.service +++ b/contrib/systemd/transfercoffee-tracker.service @@ -4,7 +4,6 @@ After=syslog.target After=network.target [Service] -RestartSec=2s Type=simple User=transfercoffee @@ -15,9 +14,7 @@ WorkingDirectory=/opt/transfer.coffee ExecStart=/usr/bin/npm run tracker Restart=always -RestartSec=86400s - -LimitNOFILE=infinity +RestartSec=2s [Install] WantedBy=multi-user.target diff --git a/contrib/systemd/transfercoffee.service b/contrib/systemd/transfercoffee.service index 8487c0b..3c9eb4b 100644 --- a/contrib/systemd/transfercoffee.service +++ b/contrib/systemd/transfercoffee.service @@ -4,7 +4,6 @@ After=syslog.target After=network.target [Service] -RestartSec=2s Type=simple # Replace this with the user you want to run as @@ -19,9 +18,7 @@ ExecStart=/usr/bin/npm run start EnvironmentFile = /opt/transfer.coffee/.env Restart=always -RestartSec=86400s - -LimitNOFILE=infinity +RestartSec=2s [Install] WantedBy=multi-user.target