diff options
Diffstat (limited to 'services')
| -rwxr-xr-x | services/skunkyart.example.openrc | 23 | ||||
| -rw-r--r-- | services/skunkyart.example.service | 2 |
2 files changed, 16 insertions, 9 deletions
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=<path_to_dir_with_skunkyart> -# 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=<path-to-dir-with-skunkyart> |
