epics/Archiver Appliance インストールメモ: archappl.service

File archappl.service, 637 bytes (added by Shuei Yamada, 5 months ago)
Line 
1#
2# Linux systemd service file for EPICS Archiver Appliance
3#
4# To install this file, as root:
5# cp archappl.service /etc/systemd/system
6# chmod 664 /etc/systemd/system/archappl.service
7# systemctl daemon-reload
8# systemctl enable archappl
9# systemctl start archappl
10#
11# To check the status:
12# systemctl status archappl
13
14[Unit]
15Description=EPICS Archiver Appliance
16After=multi-user.target
17
18[Install]
19WantedBy=multi-user.target
20
21[Service]
22Type=forking
23#Type=oneshot
24User=epics
25Group=epics
26ExecStart=/opt/archappl/sampleStartup.sh start
27ExecStop=/opt/archappl/sampleStartup.sh stop
28Restart=no
29#TimeoutSec=0
30RemainAfterExit=yes