~yerinalexey/gobin

ref: b91ecee071be538cee4dd27628186ed4deb30a49 gobin/contrib/systemd/gobin.service -rw-r--r-- 515 bytes
b91ecee0 — Alexey Yerin refactor: move configuration to config module 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# SPDX-License-Identifier: AGPL-3.0-or-later
#
# This unit runs gobin as a system service. It requires gobin to be
# available in your PATH (/usr/bin, /usr/local/bin, etc). To place it
# there use:
# sudo install ./gobin /usr/local/bin

[Unit]
Description=Simple self-hosted service for sharing text snippets
Requires=network.target

[Service]
Type=simple
ExecStart=gobin
Environment="TEMPLATE_ROOT=/usr/share/gobin/templates"
Environment="STATIC_ROOT=/usr/share/gobin/static"

[Install]
WantedBy=multi-user.target