Linux.systemd

Aus OrgaMon Wiki
Zur Navigation springen Zur Suche springen

"systemd" ist ein Linux Programm das den Boot-Prozess eines Linux-System durchführt. Zu startende Dienste sind von anderen abhängig so dass dieser Boot-Prozess nicht ganz einfach ist. Infos zu systemd:


cOrgaMon

Sicherstellen des Laufwerkes I:\

/etc/systemd/system/root-.wine-drive_i.mount
#
# cOrgaMon.service depends on
#  

[Unit]
Description=/root/.wine/drive_i
After=network.target

[Mount]
What=//raib91/i$
Where=/root/.wine/drive_i
Type=cifs
Options=-o guest

[Install]
WantedBy=orgamon.service

Der cOrgaMon-Service

/etc/systemd/system/orgamon.service
#
# cOrgaMon XML RPC Server Start Up
#

[Unit]
Description=cOrgaMon.exe XML-RPC-Server under wine
Requires=root-.wine-drive_i.mount
After=root-.wine-drive_i.mount

[Service]
Environment=LANG=de_DE.UTF-8
ExecStart=/usr/bin/wine "C:\\Program Files\\OrgaMon\\cOrgaMon.exe"
User=root

#
# In case of a restart
#
Restart=always
RestartSec=25s

#
# Logs go to Syslog
#
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=cOrgaMon.exe

[Install]
WantedBy=multi-user.target

#

Start

systemctl enable orgamon.service
systemctl start orgamon.service

aqbd

VirtualBox für GUI-OrgaMon