Skip to content

Instantly share code, notes, and snippets.

@myst3k
Created May 7, 2019 02:09
Show Gist options
  • Save myst3k/82ebfbfda91abeca1af912cc91b0c9ca to your computer and use it in GitHub Desktop.
Save myst3k/82ebfbfda91abeca1af912cc91b0c9ca to your computer and use it in GitHub Desktop.
starting sdm with a service /etc/systemd/system/sdm.service, systemctl daemon-reload, systemctl enable sdm
[Unit]
Description=Oracle Session Delivery Manager Control Script
After=sshd.service
[Service]
User=nncentral
Group=nncentral
Type=oneshot
WorkingDirectory=/opt/AcmePacket/NNC81_1/bin
ExecStart=/opt/AcmePacket/NNC81_1/bin/startnnc.sh
ExecStop=/opt/AcmePacket/NNC81_1/bin/shutdownnnc.sh
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment