Questions tagged [systemd] (5)

0
answer

Automount rights?

The crux of the matter: you have a server with 1C on linux. There is a file-based storage (a separate machine). There is a configuration document 1C on the first server which stores data on the second. After the power outages of the first server rises faster than the second, and as a result - not mounted network partition. ...
Libbie_Towne22 asked April 19th 20 at 12:44
2
answers

How to replace systemd in Debian? How can I replace SystemD?

Hello, how can I replace and how to replace SystemD in Debian. Could put Devoin, but want to do it. Will there be problems with programs and shells without Systemd?
dominic_Wintheiser asked April 19th 20 at 12:34
3
answers

Why not removed the systemd service, and how to end it to remove?

I created the service, checked how it works: starts, stops, adds to the startup, and the like. Then just deleted the file from /etc/systemd/system/ with his service file. Performed systemctl daemon-reload and forget about it all. The server is already rebooted several times. Now it was necessary to check the services that...
Elmira asked April 19th 20 at 12:17
2
answers

Systemd: how to start several of the same services, and how to pass startup parameters?

I have written a simple unit my_proc@.service, start this way: systemctl start my_proc@other_name other_name I also use in the unit. When you try to start a second instance with similar other_name not start. Tell me, is it possible to run multiple instances with the same name after the @ ? The second question: can I pa...
Rosemary.Krajcik asked April 7th 20 at 16:38
1
answer

Not removed a link to the device when it is disconnected?

cat /etc/udev/rules.d/51-android.rules #Connect SUBSYSTEM=="usb", ACTION=="bind", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="2717", ATTR{idProduct}=="ff48", SYMLINK+="Redmi66", TAG+="systemd", ENV{SYSTEMD_WANTS}="adb-starter.service" Connect the device via usb. A link to the device is created. All the rules. Pull out the ...
mustafa_McLaughlin asked April 7th 20 at 16:08
2
answers

How to watch oshibki/logs systemd unit?

Created your systemd unit that runs a php script. When you view the status of unit through systemctl status my-unit my also lists the last 10 lines of logs (errors that occurred). As you can see the full list of errors specific unit? And how can I disable the error output when you view the status ?
freddy_Kshlerin53 asked April 7th 20 at 09:52
2
answers

What error (systemd does not start the python script)?

In /etc/systemd/system put file vkbot.service , see below.[Unit] Description=VK_BOT After=network.target [Service] Type=simple ExecStart=/usr/local/bin/vkbot/bot.py Restart=always [Install] WantedBy=multi-user.target Then in the console (PuTTy) enter the following commands. - systemctl daemon-reload - systemctl enable vk...
finn.Bosco asked April 2nd 20 at 17:06
3
answers

How to add a startup service using systemctl enable if the service is a symbolic link?

I have a service on `systemd`. Is here /etc/systemd/system/my-service@.service I need to run this service at system startup. I'm doing this way: systemctl enable my-service@first-service then, Linux creates some symbolic links, and everything works as it should. Now I need to make the file my-service@.service in another fol...
lavada.Steuber asked April 2nd 20 at 15:25
1
answer

Whether to use systemd instead of cron to run a php script every second?

Hello! PHP 7 Debian 9 Now I use the classics: in a crone every minute run a bash script which runs every second php script. Kind of like the same can be done for systemd. Question: is it worth to use for such tasks systemd or stay on the crown? Thanks for the replies.
Jon_Osinski asked April 1st 20 at 16:13
1
answer

What to do with a large number of abandoned Session?

At the command systemctl list-units you enter to see a very large number of records: How is it to be?
Dorothy asked April 1st 20 at 16:02