From c5514c3875b9b782688047d547dfd6663a5b77bb Mon Sep 17 00:00:00 2001 From: lost+skunk Date: Thu, 1 Aug 2024 22:48:05 +0300 Subject: v1.3 --- services/skunkyart.example.openrc | 23 +++++++++++++++-------- services/skunkyart.example.service | 2 +- 2 files changed, 16 insertions(+), 9 deletions(-) (limited to 'services') diff --git a/services/skunkyart.example.openrc b/services/skunkyart.example.openrc index d89d5b2..9309251 100755 --- a/services/skunkyart.example.openrc +++ b/services/skunkyart.example.openrc @@ -1,13 +1,20 @@ #!/sbin/openrc-run - -directory= -# command_args="-c $directory/config.json" # if SA wasn't start, try to uncomment this line -command=$directory/skunkyart - -name="SkunkyArt" -description="Privacy frontend for deviantart.com" supervisor=supervise-daemon +user=skunkyart:skunkyart +name=SkunkyArt +directory=/opt/skunkyart +command=$directory/bin/skunkyart +description="Privacy-oriented frontend for DeviantArt" +error_logger=logger +output_logger=logger +no_new_privs=true +umask=0077 + +# if you use old version openrc, uncomment function lower +# start_pre() { +# cd $directory +# } depend() { - need net + need net localmount bootmisc } \ No newline at end of file diff --git a/services/skunkyart.example.service b/services/skunkyart.example.service index 6531cab..2699d83 100644 --- a/services/skunkyart.example.service +++ b/services/skunkyart.example.service @@ -1,7 +1,7 @@ # Note: i didn't use systemd, so it can be not works :) [Unit] -Description=Privacy frontend for deviantart.com +Description=Privacy-oriented frontend for DeviantArt [Service] Directory= -- cgit v1.2.3