Accepting request 563489 from home:markkp:branches:Base:System

- Converted the following SysV init scripts to systemd unit files
  and scripts (bsc#1050786):
  * appldata
  * hsnc
  * vmlogrdr
  * xpram

OBS-URL: https://build.opensuse.org/request/show/563489
OBS-URL: https://build.opensuse.org/package/show/Base:System/s390-tools?expand=0&rev=43
This commit is contained in:
Mark Post
2018-01-11 00:30:11 +00:00
committed by Git OBS Bridge
parent b12140c3aa
commit f675d71be2
10 changed files with 111 additions and 358 deletions

18
xpram.service Normal file
View File

@@ -0,0 +1,18 @@
[Unit]
Description=Linux - z/VM Monitor Stream
After=network-online.target remote-fs.target
Wants=network-online.target remote-fs.target
ConditionPathExists=/proc/sys/appldata/interval
ConditionPathExists=!/var/lock/appldata
[Service]
Type=oneshot
RemainAfterExit=yes
SuccessExitStatus=3
ExecStart=/usr/lib/systemd/scripts/xpram start
ExecStartPost=/usr/lib/systemd/scripts/xpram status
ExecStop=/usr/lib/systemd/scripts/xpram stop
[Install]
WantedBy=default.target