From 8f55fb04a037d1221d1f36989c08b684a37c483a Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 19 Jan 2020 18:45:09 +0100 Subject: [PATCH] fix service --- conf/systemd.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/systemd.service b/conf/systemd.service index 221a982..ea95f14 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -6,7 +6,8 @@ After=network.target postgresql.service ExecReload=/bin/kill $MAINPID KillMode=process Restart=on-failure -User=mobilizon +User=__APP__ +Group=__APP__ Environment="MIX_ENV=prod" EnvironmentFile=__FINALPATH__/__APP__/.env