mirror of
https://github.com/go-gost/gost.git
synced 2026-10-08 20:15:46 +00:00
Merge pull request #909 from iBug/pkg
chore: Create /etc/gost directory with package manager
This commit is contained in:
@@ -97,6 +97,10 @@ nfpms:
|
||||
dst: /usr/share/doc/gost/LICENSE
|
||||
- src: gost.yml
|
||||
dst: /usr/share/doc/gost/examples/gost.yml
|
||||
- dst: /etc/gost
|
||||
type: dir
|
||||
file_info:
|
||||
mode: 0755
|
||||
|
||||
checksum:
|
||||
name_template: 'checksums.txt'
|
||||
|
||||
@@ -11,6 +11,7 @@ ExecStart=/usr/bin/gost -C /etc/gost/gost.yml
|
||||
ExecReload=/bin/kill -SIGHUP $MAINPID
|
||||
|
||||
DynamicUser=yes
|
||||
ConfigurationDirectory=gost
|
||||
RuntimeDirectory=gost
|
||||
LogsDirectory=gost
|
||||
TimeoutStopSec=5s
|
||||
|
||||
Reference in New Issue
Block a user