Created
January 21, 2026 16:28
-
-
Save abohmeed/6dd3b696857c92961d7fa3cbe5ff2eae to your computer and use it in GitHub Desktop.
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
| [Unit] | |
| Description=My Application Service | |
| After=network.target postgresql.service | |
| Requires=postgresql.service | |
| [Service] | |
| Type=simple | |
| User=myapp | |
| ExecStart=/usr/bin/myapp --config /etc/myapp/config.ini | |
| Restart=on-failure | |
| RestartSec=10 | |
| [Install] | |
| WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment