1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-23 17:33:56 +03:00

F #1149: add systemd units SyslogIdentifier

This commit is contained in:
Alejandro Huertas 2022-05-09 13:42:50 +02:00
parent 517de72f80
commit 654990e0ea
No known key found for this signature in database
GPG Key ID: 3A782DC04A6BA6AA
12 changed files with 12 additions and 0 deletions

View File

@ -16,6 +16,7 @@ StartLimitInterval=60
StartLimitBurst=3 StartLimitBurst=3
Restart=on-failure Restart=on-failure
RestartSec=5 RestartSec=5
SyslogIdentifier=opennebula-fireedge
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

View File

@ -14,6 +14,7 @@ StartLimitInterval=60
StartLimitBurst=3 StartLimitBurst=3
Restart=on-failure Restart=on-failure
RestartSec=5 RestartSec=5
SyslogIdentifier=opennebula-flow
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

View File

@ -14,6 +14,7 @@ StartLimitInterval=60
StartLimitBurst=3 StartLimitBurst=3
Restart=on-failure Restart=on-failure
RestartSec=5 RestartSec=5
SyslogIdentifier=opennebula-gate
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

View File

@ -12,6 +12,7 @@ StartLimitBurst=3
Restart=on-failure Restart=on-failure
User=oneadmin User=oneadmin
Group=oneadmin Group=oneadmin
SyslogIdentifier=opennebula-guacd
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

View File

@ -14,6 +14,7 @@ StartLimitInterval=60
StartLimitBurst=3 StartLimitBurst=3
Restart=on-failure Restart=on-failure
RestartSec=5 RestartSec=5
SyslogIdentifier=opennebula-hem
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

View File

@ -13,6 +13,7 @@ StartLimitInterval=60
StartLimitBurst=3 StartLimitBurst=3
Restart=on-failure Restart=on-failure
RestartSec=5 RestartSec=5
SyslogIdentifier=opennebula-novnc
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

View File

@ -14,6 +14,7 @@ StartLimitInterval=60
StartLimitBurst=3 StartLimitBurst=3
Restart=on-failure Restart=on-failure
RestartSec=5 RestartSec=5
SyslogIdentifier=opennebula-scheduler
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

View File

@ -6,3 +6,4 @@ Group=oneadmin
User=oneadmin User=oneadmin
Type=oneshot Type=oneshot
ExecStart=/usr/bin/oneshowback calculate ExecStart=/usr/bin/oneshowback calculate
SyslogIdentifier=opennebula-showback

View File

@ -19,6 +19,7 @@ Restart=on-failure
# without this following directive the "systemctl stop" would fail and cleanup # without this following directive the "systemctl stop" would fail and cleanup
# (ExecStopPost) would not be triggered... # (ExecStopPost) would not be triggered...
SuccessExitStatus=2 SuccessExitStatus=2
SyslogIdentifier=opennebula-ssh-agent
[Install] [Install]
WantedBy=default.target WantedBy=default.target

View File

@ -7,3 +7,4 @@ Group=oneadmin
User=oneadmin User=oneadmin
Type=oneshot Type=oneshot
ExecStart=/bin/sh -c '/usr/lib/one/sh/ssh-socks-cleaner' ExecStart=/bin/sh -c '/usr/lib/one/sh/ssh-socks-cleaner'
SyslogIdentifier=opennebula-ssh-socks-cleaner

View File

@ -33,6 +33,7 @@ StartLimitInterval=60
StartLimitBurst=3 StartLimitBurst=3
Restart=on-failure Restart=on-failure
RestartSec=5 RestartSec=5
SyslogIdentifier=opennebula-sunstone
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

View File

@ -22,6 +22,7 @@ StartLimitInterval=60
StartLimitBurst=3 StartLimitBurst=3
Restart=on-failure Restart=on-failure
RestartSec=5 RestartSec=5
SyslogIdentifier=opennebula
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target