Compare commits
4 Commits
create-rel
...
master
| Author | SHA1 | Date |
|---|---|---|
|
|
3a26dc8357 | 3 years ago |
|
|
4285ec6457 | 3 years ago |
|
|
31b8d0cbd9 | 3 years ago |
|
|
9b6a61c828 | 3 years ago |
4 changed files with 55 additions and 31 deletions
@ -0,0 +1,13 @@ |
||||
#!/bin/bash |
||||
|
||||
set -e |
||||
|
||||
( |
||||
cd cmd/peroxide |
||||
go build |
||||
) |
||||
|
||||
( |
||||
cd cmd/peroxide-cfg |
||||
go build |
||||
) |
||||
@ -0,0 +1,19 @@ |
||||
#!/sbin/openrc-run |
||||
# Copyright 1999-2020 Gentoo Authors |
||||
# Distributed under the terms of the GNU General Public License v2 |
||||
|
||||
CFGFILE="/etc/peroxide/peroxide.conf" |
||||
|
||||
depend() { |
||||
need net |
||||
} |
||||
|
||||
description="Peroxide is a proton-mail brigde alternative" |
||||
command=/usr/sbin/peroxide |
||||
command_user="peroxide:peroxide" |
||||
command_args="-config ${CFGFILE}" |
||||
command_background="yes" |
||||
output_log="/var/log/peroxide/peroxide.log" |
||||
error_log="/var/log/peroxide/peroxide.log" |
||||
required_files=${CFGFILE} |
||||
pidfile="/var/run/peroxide.pid" |
||||
Loading…
Reference in new issue