# # Linux systemd service file for EPICS Archiver Appliance # # To install this file, as root: # cp archappl.service /etc/systemd/system # chmod 664 /etc/systemd/system/archappl.service # systemctl daemon-reload # systemctl enable archappl # systemctl start archappl # # To check the status: # systemctl status archappl [Unit] Description=EPICS Archiver Appliance After=multi-user.target [Install] WantedBy=multi-user.target [Service] Type=forking #Type=oneshot User=epics Group=epics ExecStart=/opt/archappl/sampleStartup.sh start ExecStop=/opt/archappl/sampleStartup.sh stop Restart=no #TimeoutSec=0 RemainAfterExit=yes