summarylogtreecommitdiffstats
path: root/movim.service
diff options
context:
space:
mode:
Diffstat (limited to 'movim.service')
-rw-r--r--movim.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/movim.service b/movim.service
index 30a66748e365..3bf012ab8763 100644
--- a/movim.service
+++ b/movim.service
@@ -3,10 +3,10 @@ Description=Movim Daemon
After=network.target
[Service]
-Group=http
+User=movim
WorkingDirectory=/usr/share/webapps/movim
EnvironmentFile=/etc/default/movim
-ExecStartPre=/usr/bin/php mud.php db --set
+ExecStartPre=/usr/bin/php vendor/bin/phinx migrate
ExecStart=/usr/bin/php daemon.php start --url=${MOVIM_URL} --port=${MOVIM_PORT} --interface=${MOVIM_INTERFACE}
Restart=always