Add gotosocial-bin ebuild
Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
This commit is contained in:
18
www-apps/gotosocial-bin/files/gotosocial.service
Normal file
18
www-apps/gotosocial-bin/files/gotosocial.service
Normal 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
|
||||
Reference in New Issue
Block a user