I tried to place those .service files in ~/.config/systemd/user - but
after the user enters their password... again, I want this start.sh to
On my Linux system I host .service files in /etc/systemd/system or /usr/lib/systemd/system. I am able to make sure they load after the network is up with an After= line in the [Unit].
I'm helping a friend who has different needs than my setup. They, also, need mrc.service and doorparty-connect.service to load at boot - but putting them in [my] standard locations they fail to load - they don't
see the actual locations of the files - dpc2/mrc_client.py... I'm
deducing that the mount point isn't there when they're trying to load???
I tried to place those .service files in ~/.config/systemd/user - but
i hope i understand but you cant put ~ in a crontab you have to do /home/user/.config etc
after the user enters their password... again, I want this start.sh trun mis server from inside tmux
When you put the files in /etc/systemd/system or
/usr/lib/systemd/system, did you run systemctl daemon-reload to pick up the files?
Anyway, it seems like this is a ... thing; different distros doalso make sure you have no special chars or spaces in your whole path.
different things - cause on my non-WM system its a non-issue; just
works.
Anyway, it seems like this is a ... thing; different distros doalso make sure you have no special chars or spaces in your whole path.
different things - cause on my non-WM system its a non-issue;
just works.
i just tried to make that work with systemd unit files, but i gave up. there is a system-escape software in linux to escape such paths, but i still could not make it work with spaces in paths and systemd unit
files.
telnet://bbs.roonsbbs.hu:1212 <<=-
in your service file you put
/bin/bash /path/to/script.sh
right?
Sysop: | CyberNix |
---|---|
Location: | London, UK |
Users: | 22 |
Nodes: | 10 (0 / 10) |
Uptime: | 35:27:15 |
Calls: | 903 |
Files: | 4,771 |
Messages: | 715,489 |