fixed mine by changing ${prefix} in the systemd service file to /usr
:before:
root@anuke:~ $ systemctl status kopano-statsd.service
● kopano-statsd.service - Kopano Groupware Core Statistics Daemon
Loaded: error (Reason: Invalid argument)
Active: inactive (dead) since Mon 2018-11-26 17:14:00 AEDT; 1 day 1h ago
Docs: man:kopano-statsd(8)
man:kopano-statsd.cfg(5)
Main PID: 22878 (code=exited, status=0/SUCCESS)
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
root@anuke:~ $ vi /etc/systemd/system/multi-user.target.wants/kopano-statsd.service
root@anuke:~ $ systemctl daemon-reload
root@anuke:~ $ systemctl restart kopano-statsd.service
:after:
root@anuke:~ $ systemctl status kopano-statsd.service
● kopano-statsd.service - Kopano Groupware Core Statistics Daemon
Loaded: loaded (/lib/systemd/system/kopano-statsd.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2018-11-27 18:15:26 AEDT; 10s ago
Docs: man:kopano-statsd(8)
man:kopano-statsd.cfg(5)
Main PID: 27440 (kopano-statsd)
Tasks: 2 (limit: 4915)
CGroup: /system.slice/kopano-statsd.service
└─27440 /usr/lib/x86_64-linux-gnu/kopano/kopano-statsd
Nov 27 18:15:26 anuke systemd[1]: Started Kopano Groupware Core Statistics Daemon.
Nov 27 18:15:26 anuke kopano-statsd[27440]: [=======] Starting kopano-statsd 8.7.80 (uid 0)
Nov 27 18:15:26 anuke kopano-statsd[27440]: [=======] Starting kopano-statsd 8.7.80 (uid 998)