You are not logged in.
Pages: 1
Hi!
I did see the other thread but that didn't went very well.
I'm trying to get my NAS to auto mount usb disks. I attempt to use devmon. devmon from the prompt works fine.
With the following script however
[Unit]
Description=Devmon Service
[Service]
Type=simple
ExecStart=/dev/bin/devmon
[Install]
WantedBy=multi-user.target
I get this result:
devmon.service - Devmon Service
Loaded: loaded (/etc/systemd/system/devmon.service; disabled)
Active: failed (Result: exit-code) since Sat 2013-03-23 19:27:38 CET; 4s ago
Process: 27691 ExecStart=/dev/bin/devmon (code=exited, status=203/EXEC)
Mar 23 19:27:38 janus systemd[1]: Starting Devmon Service...
Mar 23 19:27:38 janus systemd[1]: Started Devmon Service.
Mar 23 19:27:38 janus systemd[1]: devmon.service: main process exited, code=exited, status=203/EXEC
Mar 23 19:27:38 janus systemd[1]: Unit devmon.service entered failed state
So I guess I miss something in the script.
What would be the proper way to start devmon ?
Last edited by theking2 (2013-10-14 16:53:44)
archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR
Offline
ExecStart=/dev/bin/devmon
I'm pretty sure that's not where the binary is, you probably mean /usr/bin/devmon.
Offline
hmm that is odd.
I'm sure I typed /usr :-)
Thanks for the hint!
[Unit]
Description=Devmon Service
[Service]
Type=simple
ExecStart=/usr/bin/devmon
[Install]
WantedBy=multi-user.target
it is now
archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR
Offline
Pages: 1