fix: test_os_svc_daemon.py

Since I6487d0726db08912eed3062dfee2552940eadcfb, a ExecStartPre call
is added in the systemd .service file.
This patch adjust test_os_svc_daemon.py.

For the record, the remaining PEP8 error is fixed in
If5068ef77d6643c19de36bfcf4b4bf790f86b538.

Change-Id: I9b1859f9fc5846c7c42606644231105618e1a1a0
This commit is contained in:
Gonéri Le Bouder 2014-08-18 14:05:53 +02:00
parent 77c3177911
commit 553eef04e2
1 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,7 @@ Description=Create /var/run/bar
[Service]
ExecStartPre=/bin/mkdir -p /var/run/bar
ExecStartPre=/usr/local/bin/restore-selinux-file-context /var/run/bar
ExecStart=/bin/chown -R bar:bar /var/run/bar
[Install]
@ -99,6 +100,7 @@ Description=Create /var/run/bar
[Service]
ExecStartPre=/bin/mkdir -p /var/run/bar
ExecStartPre=/usr/local/bin/restore-selinux-file-context /var/run/bar
ExecStart=/bin/chown -R bar:bar /var/run/bar
[Install]