Merge pull request #1643 from connortechnology/master

Add a TZ env setting for systemd.
pull/1652/head
Andrew Bauer 2016-09-29 14:13:57 -05:00 committed by GitHub
commit b064383248
2 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@ ExecReload=/usr/bin/zmpkg.pl restart
ExecStop=/usr/bin/zmpkg.pl stop
PIDFile=/var/run/zm/zm.pid
Restart=on-abnormal
Environment=TZ=:/etc/localtime
[Install]
WantedBy=multi-user.target

View File

@ -13,6 +13,7 @@ ExecStart=@BINDIR@/zmpkg.pl start
ExecReload=@BINDIR@/zmpkg.pl restart
ExecStop=@BINDIR@/zmpkg.pl stop
PIDFile="@ZM_RUNDIR@/zm.pid"
Environment=TZ=:/etc/localtime
[Install]
WantedBy=multi-user.target