startup - Can't understand systemd in Ubuntu 16.04 - Ask Ubuntu


i trying fight against synaptics commands not executed on startup ubuntu 16.04 (on macbookair), detailed here. after trying rc.local realised have create systemd service instead. i

1) created file 2 lines

#!/bin/bash echo 'hello, world.' > desktop/foo.txt 

and saved /usr/bin/touchpad. made executable via chmod.

2) created file

[unit] description=touchpad  [service] type=oneshot execstart=/usr/bin/touchpad  [install] wantedby=multi-user.target 

and saved /etc/systemd/system/touchpad.service. made executable, too.

3) finally, run

systemctl enable touchpad.service 

i shut down , started again hoping see file on desktop named foo.txt text hello, world in it, nothing happens. wrong?


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User