summaryrefslogtreecommitdiff
path: root/up-www.service
blob: f7d00c06a43c0cc7484f56a2dbc94cc37ec3ab99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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