Check my upstart script code?
Nils Kassube
kassube at gmx.net
Sat May 9 19:56:54 UTC 2015
John Hupp wrote:
> Here is the script code from an upstart job I'm trying to get working
> (but which doesn't work yet):
What does that have to do with "Experiences with LVM vs btrfs" which was
the subject of the thread you have replied to? it is better to start a
new thread if you want to discuss a new subject.
> # test for a fat client:
> if [[ $(hostname | grep 'ltsp') == ltsp* ]]; then
> sed 's/mount_removable=0/mount_removable=1/'
> <~/.config/pcmanfm/lubuntu/pcmanfm.conf
I'm not familiar with upstart jobs, but IIRC they are used for system
jobs only. Then the use of "~/" or "$HOME/" doesn't make much sense. I
would always use the full path, which would be "/root/" instead of "~/".
Furthermore I wonder if $HOME is set at all for upstart jobs ...
Nils
More information about the ubuntu-users
mailing list