This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dpkg-reconfigure tzdata |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Step 1: create a file named "myservice.service" in /etc/systemd/system | |
Step 2: Copy the below code to the file. Replace the path/to/my/script with yours. | |
[Unit] | |
Description=My Service | |
After=network.target | |
# Mention the required service after which our myservice needs to start | |
After=mysql.service | |
Requires=mysql.service |
NewerOlder