Linux.systemd: Unterschied zwischen den Versionen

Aus OrgaMon Wiki
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
dieser Artikel sollte die bisher genutzten boot.local Dinge ablösen. systemd sollte verschiedene OrgaMon dienste starten können
"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.  
 
 
== Anforderung ==
 
manuelle Start-Skript
 


* cOrgaMon
* cOrgaMon
Zeile 9: Zeile 15:
* http://fedoraproject.org/wiki/How_to_debug_Systemd_problems
* http://fedoraproject.org/wiki/How_to_debug_Systemd_problems
* http://fedoraproject.org/wiki/Systemd
* http://fedoraproject.org/wiki/Systemd
== Sicherstellen des Laufwerkes I:\ ==
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 ==
#
# 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
#

Version vom 25. Januar 2012, 18:35 Uhr

"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.


Anforderung

manuelle Start-Skript


  • cOrgaMon
  • VirtualBox (Headless)
  • aqb (Banking-Server)


Sicherstellen des Laufwerkes I:\

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

#
# 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

#