2015-08-03 11:35:01 +02:00
|
|
|
[Unit]
|
2018-08-12 00:22:31 +02:00
|
|
|
Description=Movim daemon (__APP__)
|
2015-09-07 15:42:55 +02:00
|
|
|
After=nginx.service network.target local-fs.target mysql.service
|
2015-08-03 11:35:01 +02:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
2018-08-12 00:22:31 +02:00
|
|
|
User=__APP__
|
|
|
|
Group=__APP__
|
|
|
|
WorkingDirectory=__FINALPATH__/
|
2019-03-01 22:23:07 +01:00
|
|
|
ExecStart=/usr/bin/php daemon.php start --url=https://__URL__ --port=__PORT__
|
2015-08-27 07:39:22 +02:00
|
|
|
StandardOutput=syslog
|
2018-08-12 00:22:31 +02:00
|
|
|
SyslogIdentifier=__APP__
|
2015-08-03 11:35:01 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|