On Wed, Mar 15, 2023 at 09:32:40PM +0300, Reco wrote:
> On Thu, Mar 16, 2023 at 02:20:39AM +0800, cor...@free.fr wrote:
> > I have put these statement in @reboot crontab for auto startup.
> >
> > @reboot mkdir -p /var/run/xxx && chown -R www-data:www-data /var/run/xxx
>
> I'd use systemd-tmpfiles
Hi.
On Thu, Mar 16, 2023 at 02:20:39AM +0800, cor...@free.fr wrote:
> On 16/03/2023 02:08, Greg Wooledge wrote:
> > On Thu, Mar 16, 2023 at 02:02:35AM +0800, cor...@free.fr wrote:
> > > I am having the question that why the dir I created in /var/run disappears
> > > after rebooting the sys
Greg Wooledge (12023-03-15):
> If you want something to appear there the next time the computer is
> booted, you need to set up an event to occur at boot time to create
> it. This could be a systemd unit, an entry in rc.local, a crontab job
> with @reboot, etc.
To create a directory, something in
On 16/03/2023 02:08, Greg Wooledge wrote:
On Thu, Mar 16, 2023 at 02:02:35AM +0800, cor...@free.fr wrote:
I am having the question that why the dir I created in /var/run
disappears
after rebooting the system? how to prevent that?
unicorn:~$ ls -ld /var/run
lrwxrwxrwx 1 root root 4 Jan 11 201
On Thu, Mar 16, 2023 at 02:02:35AM +0800, cor...@free.fr wrote:
> I am having the question that why the dir I created in /var/run disappears
> after rebooting the system? how to prevent that?
unicorn:~$ ls -ld /var/run
lrwxrwxrwx 1 root root 4 Jan 11 2018 /var/run -> /run/
unicorn:~$ df /run
File
Hello,
I am having the question that why the dir I created in /var/run
disappears after rebooting the system? how to prevent that?
Thanks
Corey
6 matches
Mail list logo