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
Éric Gaspar 7452d33a54
Testing (#49)
* [autopatch] Add Common Platform Enumeration id to `manifest.json` (#45)

Co-authored-by: yalh76 <yalh@yahoo.com>
Co-authored-by: Yunohost-Bot <>

* Auto-update README

* Auto-update README

* Fix PHP

* Create config

* Update manifest.json

* Auto-update README

Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com>
Co-authored-by: yalh76 <yalh@yahoo.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
2023-01-10 17:16:59 +01:00

20 lines
524 B
Desktop File

[Unit]
Description=Movim: responsive web-based XMPP client
After=nginx.service network.target local-fs.target postgresql.service
[Service]
Type=simple
User=__APP__
Group=__APP__
Environment=PUBLIC_URL=https://__DOMAIN____PATH__/
Environment=WS_PORT=__PORT__
WorkingDirectory=__FINALPATH__/
ExecStart=/usr/bin/php__PHPVERSION__ daemon.php start --url=${PUBLIC_URL} --port=${WS_PORT}
StandardOutput=syslog
SyslogIdentifier=__APP__
PIDFile=/run/movim.pid
Restart=on-failure
RestartSec=10
[Install]
WantedBy=multi-user.target