update systemd unit file
All checks were successful
Bump deps (only minor versions) / ci (push) Successful in 19s
All checks were successful
Bump deps (only minor versions) / ci (push) Successful in 19s
This commit is contained in:
parent
0d3b797ec8
commit
5d0fa4e951
1 changed files with 4 additions and 3 deletions
|
@ -5,9 +5,9 @@ After=network.target
|
||||||
[Service]
|
[Service]
|
||||||
User=user
|
User=user
|
||||||
Group=user
|
Group=user
|
||||||
WorkingDirectory=<PROJECT_ROOT>
|
WorkingDirectory=/home/user/downloader
|
||||||
ExecStart=/usr/bin/node <PROJECT_ROOT>
|
EnvironmentFile=/home/user/downloader/.env
|
||||||
Environment=ORIGIN=http://example.com
|
ExecStart=/usr/bin/node /home/user/downloader
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
StandardOutput=syslog
|
StandardOutput=syslog
|
||||||
|
@ -16,3 +16,4 @@ SyslogIdentifier=downloader
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue