2024-08-02 18:09:30 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Transfer.coffee Tracker
|
|
|
|
After=syslog.target
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
|
|
|
|
User=transfercoffee
|
|
|
|
Group=transfercoffee
|
|
|
|
|
|
|
|
# Replace /opt/transfer.coffee with where you cloned the repo to
|
|
|
|
WorkingDirectory=/opt/transfer.coffee
|
|
|
|
ExecStart=/usr/bin/npm run tracker
|
|
|
|
|
|
|
|
Restart=always
|
2024-08-02 18:22:51 +00:00
|
|
|
RestartSec=2s
|
2024-08-02 18:09:30 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|