summarylogtreecommitdiffstats
path: root/athens.service
diff options
context:
space:
mode:
authorZenQy2018-12-23 14:28:34 +0800
committerZenQy2018-12-23 14:28:34 +0800
commit53793a5da8de6f0cec06db111e59dd4d73f99865 (patch)
tree5ebf2faf1217487775583093e8b98e9ec6ef8ea9 /athens.service
downloadaur-53793a5da8de6f0cec06db111e59dd4d73f99865.tar.gz
create new repo
Diffstat (limited to 'athens.service')
-rw-r--r--athens.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/athens.service b/athens.service
new file mode 100644
index 000000000000..b547b34573bd
--- /dev/null
+++ b/athens.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=A proxy server for the Go Modules download API
+After=network.target
+
+[Service]
+Type=simple
+User=nobody
+ExecStart=/usr/bin/athens -config_file /etc/athens/config.toml
+
+[Install]
+WantedBy=multi-user.target