Created
September 21, 2017 14:09
-
-
Save KristerV/f81dfd7ac5dfa74df56927a1cddf94f2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Service] | |
WorkingDirectory=/srv/heliumpay-budgetweb-backend/ | |
ExecStartPre=/usr/bin/git checkout . | |
ExecStartPre=/usr/bin/git pull | |
ExecStartPre=/usr/bin/npm install | |
ExecStart=/usr/bin/nodejs /srv/heliumpay-budgetweb-backend/index.js | |
Restart=always | |
StandardOutput=syslog | |
StandardError=syslog | |
SyslogIdentifier=budgetweb-backend | |
User=webapp | |
Group=webapp | |
Environment=NODE_ENV=production | |
[Install] | |
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Service] | |
WorkingDirectory=/srv/heliumpay-budgetweb-frontend/ | |
ExecStartPre=/usr/bin/git checkout . | |
ExecStartPre=/usr/bin/git pull | |
ExecStartPre=/usr/bin/npm install | |
ExecStartPre=/usr/bin/npm run build | |
ExecStart=/usr/bin/npm run start | |
Restart=always | |
StandardOutput=syslog | |
StandardError=syslog | |
SyslogIdentifier=budgetweb-frontned | |
User=webapp | |
Group=webapp | |
Environment=NODE_ENV=production | |
[Install] | |
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Dash's distributed currency daemon | |
After=network.target | |
[Service] | |
User=dashcore | |
Group=dashcore | |
Type=forking | |
PIDFile=/var/lib/dashd/dashd.pid | |
ExecStart=/usr/bin/dashd -daemon -pid=/var/lib/dashd/dashd.pid \ | |
-conf=/etc/dashcore/dash.conf -datadir=/var/lib/dashd -disablewallet | |
Restart=always | |
PrivateTmp=true | |
TimeoutStopSec=60s | |
TimeoutStartSec=2s | |
StartLimitInterval=120s | |
StartLimitBurst=5 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment