Re: [systemd-devel] systemctl enable myunit.service ---> Failed to execute operation: Invalid argument (bobafetthotmail)

2015-12-30 Thread bobafetthotmail
On 12/29/2015 09:16 PM, Chaiken, Alison wrote: bobafetthotmail writes: Finally found a workaround, bypassing systemctl. [ . . . ] ln -s /etc/folder2ram/folder2ram.service /lib/systemd/system/local-fs.target.wants/folder2ram.service [ . . . ] On 12/13/2015 07:09 PM, bobafetthotmail

Re: [systemd-devel] systemctl enable myunit.service ---> Failed to execute operation: Invalid argument

2015-12-29 Thread bobafetthotmail
rted anywhere. So this issue was confined to systemctl (thankfully). -Albert On 12/28/2015 04:21 PM, bobafetthotmail wrote: On 12/28/2015 04:55 AM, Andrei Borzenkov wrote: 27.12.2015 22:23, bobafetthotmail пишет: I'm still trying to understand why my unit (see the quote below) that calls

Re: [systemd-devel] systemctl enable myunit.service ---> Failed to execute operation: Invalid argument

2015-12-28 Thread bobafetthotmail
On 12/28/2015 04:55 AM, Andrei Borzenkov wrote: 27.12.2015 22:23, bobafetthotmail пишет: I'm still trying to understand why my unit (see the quote below) that calls a script can be started/stopped but cannot be enabled.. I tried changing everything in the unit, it still fails any hel

[systemd-devel] systemctl enable myunit.service ---> Failed to execute operation: Invalid argument

2015-12-27 Thread bobafetthotmail
http://ubuntuforums.org/showthread.php?t=2287364 but none answered him and he had to fall back to add a line to the /etc/rc.local -Albert On 12/13/2015 07:09 PM, bobafetthotmail wrote: Hi, it's me again. :) I made a systemd unit called "folder2ram.service", with these contents: -

[systemd-devel] systemctl can start/stop/disable but cannot enable a custom unit

2015-12-13 Thread bobafetthotmail
Hi, it's me again. :) I made a systemd unit called "folder2ram.service", with these contents: -- [Unit] Description=folder2ram systemd service [Service] Type=oneshot ExecStart=/sbin/folder2ram -mountall ExecStop=/sbin/folder2ram -umountall RemainAfterExit=yes [Install] WantedBy=multi-user.

Re: [systemd-devel] making persistent tmpfs folders with systemd

2015-11-17 Thread bobafetthotmail
On 11/17/2015 02:34 PM, Lennart Poettering wrote: On Mon, 16.11.15 18:50, bobafetthotmail (starshipele...@hotmail.it) wrote: I have a script that allows me to |mount| a folder to |tmpfs|, while bind-mounting the same folder to another location, so I can sync the contents (on startup

[systemd-devel] making persistent tmpfs folders with systemd

2015-11-16 Thread bobafetthotmail
I have a script that allows me to |mount| a folder to |tmpfs|, while bind-mounting the same folder to another location, so I can sync the contents (on startup, shutdown, and when needed) between the |tmpfs| and the original folder on system drive. I use it for folders that see many writes, but