mirror of
https://github.com/YGGverse/agate.git
synced 2026-04-08 20:45:29 +00:00
add tools for Debian
This commit is contained in:
parent
742a423021
commit
86e0fe665d
6 changed files with 153 additions and 0 deletions
28
tools/debian/gemini.service
Normal file
28
tools/debian/gemini.service
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# This file is part of the Agate software and licensed under either the
|
||||
# MIT license or Apache license at your option.
|
||||
#
|
||||
# Please keep in mind that there is no warranty whatsoever provided for this
|
||||
# software as specified in the disclaimer in the MIT license or section 7 of
|
||||
# the Apache license respectively.
|
||||
|
||||
[Unit]
|
||||
Description=Agate gemini server
|
||||
|
||||
[Service]
|
||||
# you should place the certificate and key file in this directory
|
||||
# and place the contents to be displayed in /srv/gemini/content
|
||||
WorkingDirectory=/srv/gemini/
|
||||
# assumes the device hostname is set correctly
|
||||
ExecStart=agate --hostname $(uname -n) --lang en
|
||||
|
||||
Restart=always
|
||||
RestartSec=1
|
||||
|
||||
StandardOutput=syslog
|
||||
StandardError=syslog
|
||||
# adds a syslog identifier so you can have these logs filtered into
|
||||
# a separate file
|
||||
SyslogIdentifier=gemini
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue