Last active
December 16, 2021 14:06
-
-
Save KaiserWerk/a57b3e544c448f12fc003921aead37ed to your computer and use it in GitHub Desktop.
Homelab Service unit templates
This file contains 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=CertMaker Bot (to cover your cert needs) | |
After=network.target | |
[Service] | |
Type=simple | |
ExecStart=/home/certmaker-bot/bin/certmaker-bot | |
WorkingDirectory=/home/certmaker-bot/bin | |
User=certmaker-bot | |
Group=certmaker-bot | |
Restart=always | |
RestartSec=15 | |
[Install] | |
WantedBy=multi-user.target |
This file contains 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=CertMaker (The Simple Certificate Authority) | |
After=network.target | |
Wants=mysql.service | |
[Service] | |
Type=simple | |
ExecStart=/home/certmaker/bin/certmaker | |
WorkingDirectory=/home/certmaker/bin | |
User=certmaker | |
Group=certmaker | |
Restart=always | |
RestartSec=15 | |
[Install] | |
WantedBy=multi-user.target |
This file contains 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=Gitea (Git with a cup of tea) | |
After=network.target | |
After=mysql.service | |
[Service] | |
Type=simple | |
ExecStart=/home/gitea/bin/gitea | |
WorkingDirectory=/home/gitea/bin | |
User=gitea | |
Group=gitea | |
Restart=always | |
RestartSec=15 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment