systemd service file for mrhouse

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

systemd service file for mrhouse

Michelle Dupuis-2

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



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users