[Unit] Description=Lutim: Image hosting and sharing service After=network.target [Service] Type=forking User=__APP__ Group=__APP__ 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