From: Michelle D. <md...@oc...> - 2017-01-19 23:07:49
|
I managed to create a working MH service file systemd. For anyone else who needs it, it's attached below. Perhaps someone could add it to the github? (beyond me) [Unit] Description=Misterhouse After=syslog.target [Service] Environment="MHPATH=/data/mrhouse/bin" Environment="mh_params=/data/mrhouse/local/mh.private.ini" Environment="MHOPTIONS=-tk 0 -log /var/log/mrhouse.log" Type=simple ExecStartPre=/usr/bin/cd ${MHPATH} ExecStart=/usr/bin/perl ${MHPATH}/mh $MHOPTIONS Restart=on-abort [Install] WantedBy=multi-user.target |