Add gotosocial-bin ebuild

Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
This commit is contained in:
2022-11-11 16:25:19 +01:00
parent 5cea3c62bb
commit 416f2d8a12
7 changed files with 108 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
[Unit]
Description=gotosocial Web Application
After=network.target
[Service]
WorkingDirectory=/var/lib/gotosocial
StateDirectory=gotosocial
StateDirectoryMode=0750
CacheDirectory=gotosocial
CacheDirectoryMode=0750
User=gotosocial
Group=gotosocial
ExecStart=/usr/bin/gotosocial --config /etc/gotosocial/config.yml server start
[Install]
WantedBy=multi-user.target