Initial commit
This commit is contained in:
commit
1f35f0411b
28 changed files with 5703 additions and 0 deletions
18
systemd/downloader.service
Normal file
18
systemd/downloader.service
Normal file
|
@ -0,0 +1,18 @@
|
|||
[Unit]
|
||||
Description=Downloader
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=user
|
||||
Group=user
|
||||
WorkingDirectory=<PROJECT_ROOT>
|
||||
ExecStart=/usr/bin/node <PROJECT_ROOT>
|
||||
Environment=ORIGIN=http://example.com
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
StandardOutput=syslog
|
||||
StandardError=syslog
|
||||
SyslogIdentifier=downloader
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue