diff options
author | pks <pks@pks.rocks> | 2021-03-21 15:26:26 +0100 |
---|---|---|
committer | pks <pks@pks.rocks> | 2021-03-21 15:26:26 +0100 |
commit | 43e17adffc0219bba3bb1490935ffb1b5d4c1d96 (patch) | |
tree | bda10f5731a20062a045bf1e94dbb92f9fcad318 /up-www.service | |
parent | 23b13a2d93631edc3cebf7e1afcdd924f0821faa (diff) |
systemd service file
Diffstat (limited to 'up-www.service')
-rw-r--r-- | up-www.service | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/up-www.service b/up-www.service new file mode 100644 index 0000000..f7d00c0 --- /dev/null +++ b/up-www.service @@ -0,0 +1,16 @@ +[Unit] +Description=up www service +After=network.target + +[Service] +User=root +Environment=GEM_HOME=/usr/local/lib/ruby/2.5.0 +Environment=APP_ENV=production +ExecStart=/usr/local/src/up/up-www.rb +Restart=on-failure +StandardOutput=syslog +StandardError=syslog +SyslogIdentifier=up-www + +[Install] +WantedBy=multi-user.target |