Tag Info

Hot answers tagged

1

I also had a problem with dbus and vnc. So I added eval `dbus-launch` to ~/.vnx/xstartup. It starts gnome session for me!


1

Per default samba active directory and domain controller service will be started in addition to smbd and nmbd. For a standalone server this is not neccesary. Just set the service to manual startup to get rid of the [fail] message with the following statement as root: echo manual | tee /etc/init/samba-ad-dc.override


1

Yes, is possible define multiple env variable and than override them from command line. For example: description "Multi Parm" env USER=BLARG start on startup stop on shutdown env PARM1=foo env PARM2=bar env PARM3=hello script exec sudo -u $USER sh -c "/$PARM1/$USER/PARM2/$PARM3.sh" end script Than you can start your service: ...


1

You can do this: start on startup stop on runlevel [016] instance $PARM1/$PARM2/$PARM3 setuid BLARG respawn exec ${UPSTART_INSTANCE}.sh



Only top voted, non community-wiki answers of a minimum length are eligible