- Put
endless.sh
in /root vi /etc/systemd/system/test.service
- Put content of file
test.service
- Reload service:
systemctl daemon-reload
- Start service:
service test start
- Stop:
service test stop
- Check status:
service test status
sticker_commission: | |
displayName: "Sticker Commission" | |
columns: | |
sticker: | |
type: ref(sticker) | |
displayName: Sticker | |
commissionedAt: | |
type: ref(artist) | |
displayName: "Commissioned at" |
Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
// ==UserScript== | |
// @name Userscript Name | |
// @namespace http://example.com/ | |
// @description Userscript Description | |
// @match http://example.com/* (or @include * to include all pages) | |
// @version 1.0 | |
// ==/UserScript== | |
// Emulate Greasemonkey's unsafeWindow in Chrome | |
window.unsafeWindow = window.unsafeWindow || (function() { |