Skip to content
Advertisement

Tag: systemctl

Root privileges needed for “systemctl suspend” command

On an embedded Linux device (Colibri module with an iMX7d processor) I am not able to run the command systemctl suspend as an non-root user in order to switch into suspend mode. When I log in as root user, the command is executed and the system switches to suspend mode. The same command runs on a Ubuntu PC system as

how to change springboot application start directory?

I run a springboot application as service on CENTOS7. The default start directory is “/”, now I want change to “/home/centos/fpcyproxy” where the configuration file is in. How to change it? logging file: content of the service configuration file: OS version: Java version: Answer If you are talking about homedir for application – try to set WorkingDirectory property: But if

Can’t restart webmin [status 2]

I’ve updated webmin, but now, it refuse to restart : Can someone explain me what does pam_unix(webmin:auth): authentication failure mean ? some more infos : Thank you 🙂 Answer SOLUTION I tried to start like this The output is a bit more clear, and finally found a solution here. Comment out the lines related to the borked server in /etc/webmin/miniserv.conf.

Systemctl dependency failure, stop dependent services

I have 2 services a.service and b.service. a.service is shown b.service Now, when i start b.service, i’m sure a.service will be started. During runtime, suddenly someone messes with /home/admin/run.sh and systemd is unable to start a.service (also systemctl status a.service shows failed as status). Now is there a option so that b.service can know that a.service is failed and it

Advertisement