Subj : Re: ArchLinux and MBSE
To   : Andrew Leary
From : Stephen Atkins
Date : Wed Jan 20 2016 09:29 am

Andrew Leary wrote to Stephen Atkins:
AL> Hello Stephen!
AL> I will have to download a copy of ArchLinux and see what I can do.  It's
AL> probably a case of needing to modify the installation scripts to put
AL> things where a systemd system expects them.
AL>

Here is what I have currently for my systemd.  It doesn't currently work but
might give you a start.

Stephen

[Unit]
Description=MBSE BBS
After=syslog.target network.target

[Service]
Type=forking
WorkingDirectory=/opt/mbse/
PIDFile=/opt/mbse/var/run/mbtask
ExecStartPre=export MBSE_ROOT=/opt/mbse
ExecStart=/opt/mbse/bin/mbtask
ExecReload=/bin/kill -HUP ${MAINPID}
ExecStop=/bin/kill ${MAINPID}
User=mbse
Group=bbs
#Restart=on-failure
#RestartSec=10

[Install]
WantedBy=multi-user.target


---
The Bit Bucket BBS - telnet://bbs.thebitbucket.ca

--- MBSE BBS v1.0.6 (GNU/Linux-x86_64)
* Origin: The Bit Bucket BBS (1:342/13)