Am 11.11.2015 um 16:39 schrieb Frank Steiner:
Tomasz Torcz wroteI would suggest splitting the "on boot only" part into separate unit, with RemainAfterExit=true. The main part should require boot-only part. First of all, create a proper unit and drop LSB script.This is not possible as it is an opensuse system script that I cannot replace.
says who?thats why /etc/systemd/system/ exists - override sysvinit scripts and even systemd-units from packages - just name it identical and it will win
[root@srv-rhsoft:~]$ ls /etc/rc.d/init.d/vmware -rwxr-xr-x 1 root root 14K 2015-11-01 21:01 /etc/rc.d/init.d/vmware [root@srv-rhsoft:~]$ systemctl status vmware ● vmware.service - VMware Workstation ServiceLoaded: loaded (/etc/systemd/system/vmware.service; enabled; vendor preset: disabled)
Active: active (exited) since Mi 2015-11-11 10:32:47 CET; 6h ago Main PID: 985 (code=exited, status=0/SUCCESS) CGroup: /system.slice/vmware.service
signature.asc
Description: OpenPGP digital signature
_______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
