systemctl startup/shutdown script
Does anyone have an example of a systemd startup and shutdown script?
Fedora/CentOS move from sys-v to systemd has left me feeling a bit lost. :) Thank you |
Here are what I'm using for mine
Code:
# cat /usr/lib/systemd/system/eqemu-world.service Code:
# cat /usr/lib/systemd/system/eqemu-zones.service |
Would this work on Ubuntu? And how is the service called at bootup?
I have systemd with systemd-shim.list, but the directory structure in the above scripts are different. |
Quote:
|
Quote:
For Fedora 22, I chose to create five systemd scripts. The those unfamiliar with the process, I have provided details here https://blog-harmonson.rhcloud.com/2...erver-minimal/ under the section titled Systemd Scripts. eqemu-loginserver.service Code:
[Unit] eqemu-world.service Code:
[Unit] Code:
Code:
Unit] Code:
[Unit] |
All times are GMT -4. The time now is 08:17 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.