Skip to main content

All Questions

0 votes
0 answers
375 views

system.d custom service not running correctly script.sh but as user can run script.sh manually

[SOLVED] My questions is simple, I created a mcboot.service wich auto start my All The Mod 8 MC server, I sysctl enabled it, and did daemon-reload, my issue now is, I can execute without issue the run....
Elmani335's user avatar
0 votes
0 answers
273 views

systemd doesn't read environment variables required for script

I want to use borg backup and systemd timers to do my backups. I am using the script from borg backup website very slightly adjusted. You can see the original HERE and my script below: #!/bin/sh # ...
callmebob's user avatar
  • 101
2 votes
1 answer
78 views

How does one specify where to redirect output from a bash script, in systemd script?

I have a command in bash script that runs my custom application: ./my_app --config ./cfg >> my_app.log 2>>my_app.err And I want to wrap this into a systemd service. I've done this so far: ...
michika's user avatar
  • 39
1 vote
2 answers
654 views

Dialog/Application before login/desktop-manager comes up

After a preseed installation of ubuntu (or any linux dist) I want to display a message/warning for the user that some installation or configuration is happening during the first boot. Unfortunately ...
Sefer's user avatar
  • 21