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]
|
||||
User=user
|
||||
Group=user
|
||||
WorkingDirectory=<PROJECT_ROOT>
|
||||
ExecStart=/usr/bin/node <PROJECT_ROOT>
|
||||
Environment=ORIGIN=http://example.com
|
||||
WorkingDirectory=/home/user/downloader
|
||||
EnvironmentFile=/home/user/downloader/.env
|
||||
ExecStart=/usr/bin/node /home/user/downloader
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
StandardOutput=syslog
|
||||
|
@ -16,3 +16,4 @@ SyslogIdentifier=downloader
|
|||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue