dotfiles/.config/systemd/user/tildeverse-vern-caddy.service
Andrei Jiroh Halili 785f38b9a5
feat(global): stage config and scripts to version control
Including just one script from ~sircmpwn for signing release source tarballs.

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
2022-12-28 12:56:21 +08:00

15 lines
520 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=multi-user.target