dotfiles/.config/systemd/user/tildeverse-vern-caddy.service
Andrei Jiroh Halili f88877b211
chore(systemd): fix services stuff on systemd side
Also in this commit, I also commited my aithorized_keys for
IaC on my homelabs.

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
2023-01-21 15:33:10 +00:00

14 lines
516 B
Desktop File

[Unit]
Description=Make proxied services available under *-ajhalili2006.vern.cc via Caddy
[Service]
WorkingDirectory=/home/ajhalili2006/projects/andreijiroh.dev/tilde
# in case of power loss and we still need to do this
#ExecStartPre="/run/current-system/sw/bin/rm -f /home/ajhalili2006/.webserver.sock"
ExecStart=/run/current-system/sw/bin/bash /home/ajhalili2006/projects/andreijiroh.dev/tilde/start-caddy-tildeserv.sh
Restart=on-failure
StartLimitBurst=3
StartLimitInterval=90
[Install]
WantedBy=default.target