Commit e012f45ece655bf4125b602f9572972bf7c1a44a
1 parent
5e8e0dda
Exists in
master
and in
20 other branches
Allow to configure workers using environment file
Signed-off-by: Sergio Oliveira <sergio@tracy.com.br>
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
misc/lib/systemd/system/colab.service
@@ -3,6 +3,7 @@ Description=Colab | @@ -3,6 +3,7 @@ Description=Colab | ||
3 | 3 | ||
4 | [Service] | 4 | [Service] |
5 | User=colab | 5 | User=colab |
6 | +EnvironmentFile=-/etc/sysconfig/colab | ||
6 | PermissionsStartOnly=true | 7 | PermissionsStartOnly=true |
7 | ExecStartPre=/usr/bin/mkdir -p /var/lock/colab | 8 | ExecStartPre=/usr/bin/mkdir -p /var/lock/colab |
8 | ExecStartPre=/usr/bin/chown -R colab:colab /var/lock/colab | 9 | ExecStartPre=/usr/bin/chown -R colab:colab /var/lock/colab |