From 747c03b2d4302da86db9b13e4b79466ea063ca3d Mon Sep 17 00:00:00 2001 From: Jon Lundy Date: Mon, 23 Nov 2020 14:31:40 -0700 Subject: [PATCH] update systemd service --- sour.is-keyproofs.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 sour.is-keyproofs.service diff --git a/sour.is-keyproofs.service b/sour.is-keyproofs.service new file mode 100644 index 0000000..93c444c --- /dev/null +++ b/sour.is-keyproofs.service @@ -0,0 +1,15 @@ +[Unit] +Description=sour.is paste API +After=syslog.target network.target + +[Service] +Type=simple +User=www-data +WorkingDirectory=/var/www +ExecStart=/usr/local/bin/keyproofs + +Restart=always +RestartSec=30 + +[Install] +WantedBy=multi-user.target