1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00
movim_ynh/conf/systemd.service
ericgaspar ef32bf103d
fix
2020-09-17 10:06:52 +02:00

17 lines
400 B
Desktop File

[Unit]
Description=Movim daemon
After=nginx.service network.target local-fs.target postgresql.service
[Service]
Type=simple
User=www-data
ExecStart=/usr/bin/php daemon.php start --url=https://__DOMAIN____PATH__ --port=__PORT__
WorkingDirectory=__FINALPATH__
StandardOutput=syslog
SyslogIdentifier=__APP__
PIDFile=/run/movim.pid
Restart=on-failure
RestartSec=10
[Install]
WantedBy=multi-user.target