summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authorlost+skunk <[email protected]>2024-07-30 01:06:40 +0300
committerlost+skunk <[email protected]>2024-07-30 01:06:40 +0300
commit2dfeaae772e630ae361a35bf4680257d081560c1 (patch)
treeb3af5d798430d36c2a362b9be250fb7fcdb353ad /services
parente02174cb710e6d6abd642f03e64ce91bbac38130 (diff)
downloadskunky-art-2dfeaae772e630ae361a35bf4680257d081560c1.tar.gz
skunky-art-2dfeaae772e630ae361a35bf4680257d081560c1.tar.bz2
skunky-art-2dfeaae772e630ae361a35bf4680257d081560c1.zip
Подготовка к релизу v1.3.1
Diffstat (limited to 'services')
-rwxr-xr-xservices/skunkyart.example.openrc13
-rw-r--r--services/skunkyart.example.service11
2 files changed, 24 insertions, 0 deletions
diff --git a/services/skunkyart.example.openrc b/services/skunkyart.example.openrc
new file mode 100755
index 0000000..d89d5b2
--- /dev/null
+++ b/services/skunkyart.example.openrc
@@ -0,0 +1,13 @@
+#!/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
+
+depend() {
+ need net
+} \ No newline at end of file
diff --git a/services/skunkyart.example.service b/services/skunkyart.example.service
new file mode 100644
index 0000000..6531cab
--- /dev/null
+++ b/services/skunkyart.example.service
@@ -0,0 +1,11 @@
+# Note: i didn't use systemd, so it can be not works :)
+
+[Unit]
+Description=Privacy frontend for deviantart.com
+
+[Service]
+Directory=<path-to-dir-with-skunkyart>
+ExecStart=<path-to-dir-skunkyart>
+
+[Install]
+WantedBy=multi-user.target