From 89703ca3ecfe93e2bc879bbccee99d3c54807ab7 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 24 Jul 2020 17:58:14 +0200 Subject: [PATCH] Update systemd.service --- conf/systemd.service | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/conf/systemd.service b/conf/systemd.service index 339937a..edca92e 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -6,10 +6,14 @@ After=nginx.service network.target local-fs.target postgresql.service Type=simple User=__APP__ Group=__APP__ -WorkingDirectory=__FINALPATH__/ +WorkingDirectory=__FINALPATH__ ExecStart=/usr/bin/php daemon.php start --url=https://__URL__ --port=__PORT__ StandardOutput=syslog SyslogIdentifier=__APP__ [Install] WantedBy=multi-user.target + + + +#ExecStart=/usr/bin/php daemon.php start --url=https://__DOMAIN__/__PATH__ --port=__PORT__ \ No newline at end of file