2016-03-31 22:41:54 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Image hosting and sharing service
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
2017-03-19 19:16:10 +01:00
|
|
|
Type=simple
|
|
|
|
User=__APP__
|
|
|
|
Group=__APP__
|
2016-03-31 22:41:54 +02:00
|
|
|
RemainAfterExit=yes
|
|
|
|
WorkingDirectory=__FINALPATH__
|
|
|
|
PIDFile=__FINALPATH__script/hypnotoad.pid
|
|
|
|
ExecStart=/usr/bin/carton exec hypnotoad script/lutim >> /var/log/lutim/production.log 2>&1
|
|
|
|
ExecStop=/usr/bin/carton exec hypnotoad -s script/lutim >> /var/log/lutim/production.log 2>&1
|
|
|
|
ExecReload=/usr/bin/carton exec hypnotoad script/lutim >> /var/log/lutim/production.log 2>&1
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|