mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Don't fail when /etc/default/cgrates doesn't exist.
See: https://www.freedesktop.org/software/systemd/man/systemd.exec.html#EnvironmentFile=
Partially reverts 8db2b85.
This commit is contained in:
committed by
Dan Christian Bogos
parent
7d848069ef
commit
65e4929bdf
@@ -7,7 +7,7 @@ After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
EnvironmentFile=/etc/default/cgrates
|
||||
EnvironmentFile=-/etc/default/cgrates
|
||||
ExecStart=/usr/bin/cgr-engine $DAEMON_OPTS
|
||||
KillMode=mixed
|
||||
User=cgrates
|
||||
|
||||
Reference in New Issue
Block a user